package com.smz.service;




import com.smz.entity.Functions;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FunctionsService {


    List<Functions> selectFunctionsByName(String username);

    List<Functions> selectAllFunctions();
    List<Functions> selectByRoleId(Integer id);
    List<Functions> findAll();
    void addFunction(Functions functions);
    void modifyFunction(Functions functions);
    void removeFunction(@Param("id")Integer id);
}
